package com.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.entity.JiankangdanganEntity;
import com.entity.view.JiankangdanganView;
import com.entity.vo.JiankangdanganVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 健康档案
 *
 */
public interface JiankangdanganDao extends BaseMapper<JiankangdanganEntity> {

    List<JiankangdanganVO> selectListVO(@Param("ew") Wrapper<JiankangdanganEntity> wrapper);

        JiankangdanganVO selectVO(@Param("ew") Wrapper<JiankangdanganEntity> wrapper);

    List<JiankangdanganView> selectListView(@Param("ew") Wrapper<JiankangdanganEntity> wrapper);

    List<JiankangdanganView> selectListView(Pagination page, @Param("ew") Wrapper<JiankangdanganEntity> wrapper);

        JiankangdanganView selectView(@Param("ew") Wrapper<JiankangdanganEntity> wrapper);

    String getMaxId();

    List<String> jiankangids( @Param("userId") String userId);
}
